const data = [
  {
    url:RegExp('/api/login.*'),
    method:'post',
    mock:{}
  },
  {
    url:RegExp('/api/get-menu.*'),
    method:'get',
    mock:[
      {id:'@id',type:'menu',menuLabel:'@ctitle',path:'base',name:'Base',redirect:'/base/testA',component:'views/container/base-container',children:[
        {id:'@id',type:'menu',menuLabel:'@ctitle',path:'testA',name:'TestA',component:'views/test/a',meta:{keepAlive:true},children:[
          {id:'@id',type:'button',name:'add',path:'',desc:'测试按钮'},
          {id:'@id',type:'button',name:'link',path:'http://www.baidu.com',desc:'测试链接'},
        ]},
        {id:'@id',type:'menu',menuLabel:'@ctitle',name:'TestB',path:'http://www.test.com',component:'',},
      ]}
    ]
  }
]

export default data;